import Layout from "@/layout";

export default {
  path: "/user",
  name: "user",
  component: Layout,
  alwaysShow: true,
  meta: {
    title: "用户管理",
    icon: "",
    roles: ["admin", "editor"],
  },
  children: [
    {
      path: "/set",
      name: "userSet",
      component: () => import("@/views/user/set"),
      meta: { title: "设置", icon: "", roles: ["admin", "editor"] },
    },
    {
      path: "/edit",
      name: "userEdit",
      component: () => import("@/views/user/edit"),
      hidden: true,
      meta: {
        
        title: "编辑",
        icon: "",
        roles: ["admin", "editor"],
        breadcrumb: false,
      },
    },
    {
      path: "/info",
      name: "userInfo",
      component: () => import("@/views/user/info"),
      meta: { title: "信息", icon: "", roles: ["admin"] },
    },
  ],
};
